[INFO] fetching crate divan 0.1.21...
[INFO] fixing divan-0.1.21 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate divan 0.1.21 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate divan 0.1.21
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate divan 0.1.21
[INFO] tweaked toml for crates.io crate divan 0.1.21 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate divan 0.1.21 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate divan 0.1.21 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5febb702b6bfdbc3465aba96d4cdb71ab0f2ea9d6a4a755ceb62fe6281c37c88
[INFO] running `Command { std: "docker" "start" "5febb702b6bfdbc3465aba96d4cdb71ab0f2ea9d6a4a755ceb62fe6281c37c88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5febb702b6bfdbc3465aba96d4cdb71ab0f2ea9d6a4a755ceb62fe6281c37c88" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5febb702b6bfdbc3465aba96d4cdb71ab0f2ea9d6a4a755ceb62fe6281c37c88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5febb702b6bfdbc3465aba96d4cdb71ab0f2ea9d6a4a755ceb62fe6281c37c88" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking condtype v1.3.0
[INFO] [stderr]     Checking regex-lite v0.1.6
[INFO] [stderr]    Compiling cc v1.2.7
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.95
[INFO] [stderr]     Checking terminal_size v0.4.1
[INFO] [stderr]     Checking clap_builder v4.5.23
[INFO] [stderr]    Compiling libmimalloc-sys v0.1.39
[INFO] [stderr]     Checking mimalloc v0.1.43
[INFO] [stderr]    Compiling divan-macros v0.1.21
[INFO] [stderr]     Checking clap v4.5.23
[INFO] [stderr]     Checking divan v0.1.21 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/entry/generic.rs (2 fixes)
[INFO] [stdout] warning: `impl for<'b, 'c> Fn(usize, Option<&'b Barrier>, &'c mut (dyn for<'b> FnMut(&'b I) + 'c)) -> ([timestamp::Timestamp; 2], ThreadAllocInfo)` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/benchmark/mod.rs:825:10
[INFO] [stdout]     |
[INFO] [stdout] 825 |     ) -> impl Fn(usize, Option<&Barrier>, &mut dyn FnMut(&I)) -> ([Timestamp; 2], ThreadAllocInfo)
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/benchmark/mod.rs:538:6
[INFO] [stdout]     |
[INFO] [stdout] 538 | impl<'a> BenchContext<'a> {
[INFO] [stdout]     |      ^^
[INFO] [stdout] ...
[INFO] [stdout] 821 |         &self,
[INFO] [stdout]     |         ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/benchmark/mod.rs:822:20
[INFO] [stdout]     |
[INFO] [stdout] 822 |         gen_input: impl Fn() -> I,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^
[INFO] [stdout] 823 |         benched: impl Fn(&UnsafeCell<MaybeUninit<I>>) -> O,
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 824 |         drop_input: impl Fn(&UnsafeCell<MaybeUninit<I>>),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 820 ~     fn sample_recorder<I, O, T: Fn() -> I, U: Fn(&UnsafeCell<MaybeUninit<I>>) -> O, V: Fn(&UnsafeCell<MaybeUninit<I>>)>(
[INFO] [stdout] 821 |         &self,
[INFO] [stdout] 822 ~         gen_input: T,
[INFO] [stdout] 823 ~         benched: U,
[INFO] [stdout] 824 ~         drop_input: V,
[INFO] [stdout] 825 ~     ) -> impl Fn(usize, Option<&Barrier>, &mut dyn FnMut(&I)) -> ([Timestamp; 2], ThreadAllocInfo) + use<I, O, T, U, V>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/time/timestamp/mod.rs (1 fix)
[INFO] [stderr]        Fixed src/util/mod.rs (1 fix)
[INFO] [stderr]        Fixed src/thread_pool.rs (3 fixes)
[INFO] [stderr]        Fixed src/util/macros.rs (2 fixes)
[INFO] [stderr]        Fixed src/benchmark/defer.rs (1 fix)
[INFO] [stderr]        Fixed src/entry/meta.rs (1 fix)
[INFO] [stderr]        Fixed src/alloc.rs (4 fixes)
[INFO] [stderr]        Fixed src/entry/mod.rs (1 fix)
[INFO] [stdout] warning: `impl for<'b, 'c> Fn(usize, Option<&'b Barrier>, &'c mut (dyn for<'b> FnMut(&'b I) + 'c)) -> ([timestamp::Timestamp; 2], alloc::ThreadAllocInfo)` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/benchmark/mod.rs:825:10
[INFO] [stdout]     |
[INFO] [stdout] 825 |     ) -> impl Fn(usize, Option<&Barrier>, &mut dyn FnMut(&I)) -> ([Timestamp; 2], ThreadAllocInfo)
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/benchmark/mod.rs:538:6
[INFO] [stdout]     |
[INFO] [stdout] 538 | impl<'a> BenchContext<'a> {
[INFO] [stdout]     |      ^^
[INFO] [stdout] ...
[INFO] [stdout] 821 |         &self,
[INFO] [stdout]     |         ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/benchmark/mod.rs:822:20
[INFO] [stdout]     |
[INFO] [stdout] 822 |         gen_input: impl Fn() -> I,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^
[INFO] [stdout] 823 |         benched: impl Fn(&UnsafeCell<MaybeUninit<I>>) -> O,
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 824 |         drop_input: impl Fn(&UnsafeCell<MaybeUninit<I>>),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 820 ~     fn sample_recorder<I, O, T: Fn() -> I, U: Fn(&UnsafeCell<MaybeUninit<I>>) -> O, V: Fn(&UnsafeCell<MaybeUninit<I>>)>(
[INFO] [stdout] 821 |         &self,
[INFO] [stdout] 822 ~         gen_input: T,
[INFO] [stdout] 823 ~         benched: U,
[INFO] [stdout] 824 ~         drop_input: V,
[INFO] [stdout] 825 ~     ) -> impl Fn(usize, Option<&Barrier>, &mut dyn FnMut(&I)) -> ([Timestamp; 2], ThreadAllocInfo) + use<I, O, T, U, V>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/private.rs (2 fixes)
[INFO] [stderr]    Migrating tests/entry_properties.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed tests/entry_properties.rs (1 fix)
[INFO] [stderr]    Migrating tests/forbid_unsafe.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/attr_options.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/weird_usage.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.09s
[INFO] [stderr] crater-edition-check: divan v0.1.21 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking divan v0.1.21 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `self.samples.time_samples` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/benchmark/mod.rs:652:13
[INFO] [stdout]     |
[INFO] [stdout] 609 |         let record_sample = self.sample_recorder(gen_input, benched, drop_input);
[INFO] [stdout]     |                             ---- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 652 |             self.samples.time_samples.reserve(self.options.sample_count.unwrap_or(1) as usize);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 700 |                     record_sample(sample_size as usize, barrier.as_ref(), &mut count_input);
[INFO] [stdout]     |                     ------------- immutable borrow later captured here by closure
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/benchmark/mod.rs:609:29
[INFO] [stdout]     |
[INFO] [stdout] 609 |         let record_sample = self.sample_recorder(gen_input, benched, drop_input);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/benchmark/mod.rs:822:20
[INFO] [stdout]     |
[INFO] [stdout] 822 |         gen_input: impl Fn() -> I,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^
[INFO] [stdout] 823 |         benched: impl Fn(&UnsafeCell<MaybeUninit<I>>) -> O,
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 824 |         drop_input: impl Fn(&UnsafeCell<MaybeUninit<I>>),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 820 ~     fn sample_recorder<I, O, T: Fn() -> I, U: Fn(&UnsafeCell<MaybeUninit<I>>) -> O, V: Fn(&UnsafeCell<MaybeUninit<I>>)>(
[INFO] [stdout] 821 |         &self,
[INFO] [stdout] 822 ~         gen_input: T,
[INFO] [stdout] 823 ~         benched: U,
[INFO] [stdout] 824 ~         drop_input: V,
[INFO] [stdout] 825 ~     ) -> impl Fn(usize, Option<&Barrier>, &mut dyn FnMut(&I)) -> ([Timestamp; 2], ThreadAllocInfo) + use<I, O, T, U, V>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0506]: cannot assign to `self.samples.sample_size` because it is borrowed
[INFO] [stdout]    --> src/benchmark/mod.rs:675:13
[INFO] [stdout]     |
[INFO] [stdout] 609 |         let record_sample = self.sample_recorder(gen_input, benched, drop_input);
[INFO] [stdout]     |                             ---- `self.samples.sample_size` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 675 |             self.samples.sample_size = sample_size;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self.samples.sample_size` is assigned to here but it was already borrowed
[INFO] [stdout] ...
[INFO] [stdout] 700 |                     record_sample(sample_size as usize, barrier.as_ref(), &mut count_input);
[INFO] [stdout]     |                     ------------- borrow later captured here by closure
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/benchmark/mod.rs:609:29
[INFO] [stdout]     |
[INFO] [stdout] 609 |         let record_sample = self.sample_recorder(gen_input, benched, drop_input);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/benchmark/mod.rs:822:20
[INFO] [stdout]     |
[INFO] [stdout] 822 |         gen_input: impl Fn() -> I,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^
[INFO] [stdout] 823 |         benched: impl Fn(&UnsafeCell<MaybeUninit<I>>) -> O,
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 824 |         drop_input: impl Fn(&UnsafeCell<MaybeUninit<I>>),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 820 ~     fn sample_recorder<I, O, T: Fn() -> I, U: Fn(&UnsafeCell<MaybeUninit<I>>) -> O, V: Fn(&UnsafeCell<MaybeUninit<I>>)>(
[INFO] [stdout] 821 |         &self,
[INFO] [stdout] 822 ~         gen_input: T,
[INFO] [stdout] 823 ~         benched: U,
[INFO] [stdout] 824 ~         drop_input: V,
[INFO] [stdout] 825 ~     ) -> impl Fn(usize, Option<&Barrier>, &mut dyn FnMut(&I)) -> ([Timestamp; 2], ThreadAllocInfo) + use<I, O, T, U, V>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `self.samples.time_samples` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/benchmark/mod.rs:652:13
[INFO] [stdout]     |
[INFO] [stdout] 609 |         let record_sample = self.sample_recorder(gen_input, benched, drop_input);
[INFO] [stdout]     |                             ---- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 652 |             self.samples.time_samples.reserve(self.options.sample_count.unwrap_or(1) as usize);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 700 |                     record_sample(sample_size as usize, barrier.as_ref(), &mut count_input);
[INFO] [stdout]     |                     ------------- immutable borrow later captured here by closure
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/benchmark/mod.rs:609:29
[INFO] [stdout]     |
[INFO] [stdout] 609 |         let record_sample = self.sample_recorder(gen_input, benched, drop_input);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/benchmark/mod.rs:822:20
[INFO] [stdout]     |
[INFO] [stdout] 822 |         gen_input: impl Fn() -> I,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^
[INFO] [stdout] 823 |         benched: impl Fn(&UnsafeCell<MaybeUninit<I>>) -> O,
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 824 |         drop_input: impl Fn(&UnsafeCell<MaybeUninit<I>>),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 820 ~     fn sample_recorder<I, O, T: Fn() -> I, U: Fn(&UnsafeCell<MaybeUninit<I>>) -> O, V: Fn(&UnsafeCell<MaybeUninit<I>>)>(
[INFO] [stdout] 821 |         &self,
[INFO] [stdout] 822 ~         gen_input: T,
[INFO] [stdout] 823 ~         benched: U,
[INFO] [stdout] 824 ~         drop_input: V,
[INFO] [stdout] 825 ~     ) -> impl Fn(usize, Option<&Barrier>, &mut dyn FnMut(&I)) -> ([Timestamp; 2], ThreadAllocInfo) + use<I, O, T, U, V>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0506]: cannot assign to `self.samples.sample_size` because it is borrowed
[INFO] [stdout]    --> src/benchmark/mod.rs:675:13
[INFO] [stdout]     |
[INFO] [stdout] 609 |         let record_sample = self.sample_recorder(gen_input, benched, drop_input);
[INFO] [stdout]     |                             ---- `self.samples.sample_size` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 675 |             self.samples.sample_size = sample_size;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self.samples.sample_size` is assigned to here but it was already borrowed
[INFO] [stdout] ...
[INFO] [stdout] 700 |                     record_sample(sample_size as usize, barrier.as_ref(), &mut count_input);
[INFO] [stdout]     |                     ------------- borrow later captured here by closure
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/benchmark/mod.rs:609:29
[INFO] [stdout]     |
[INFO] [stdout] 609 |         let record_sample = self.sample_recorder(gen_input, benched, drop_input);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/benchmark/mod.rs:822:20
[INFO] [stdout]     |
[INFO] [stdout] 822 |         gen_input: impl Fn() -> I,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^
[INFO] [stdout] 823 |         benched: impl Fn(&UnsafeCell<MaybeUninit<I>>) -> O,
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 824 |         drop_input: impl Fn(&UnsafeCell<MaybeUninit<I>>),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 820 ~     fn sample_recorder<I, O, T: Fn() -> I, U: Fn(&UnsafeCell<MaybeUninit<I>>) -> O, V: Fn(&UnsafeCell<MaybeUninit<I>>)>(
[INFO] [stdout] 821 |         &self,
[INFO] [stdout] 822 ~         gen_input: T,
[INFO] [stdout] 823 ~         benched: U,
[INFO] [stdout] 824 ~         drop_input: V,
[INFO] [stdout] 825 ~     ) -> impl Fn(usize, Option<&Barrier>, &mut dyn FnMut(&I)) -> ([Timestamp; 2], ThreadAllocInfo) + use<I, O, T, U, V>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0502, E0506.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `divan` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0502, E0506.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `divan` (lib test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "5febb702b6bfdbc3465aba96d4cdb71ab0f2ea9d6a4a755ceb62fe6281c37c88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5febb702b6bfdbc3465aba96d4cdb71ab0f2ea9d6a4a755ceb62fe6281c37c88", kill_on_drop: false }`
[INFO] [stdout] 5febb702b6bfdbc3465aba96d4cdb71ab0f2ea9d6a4a755ceb62fe6281c37c88
